package com.situ.yB2C.catalog.service;

import java.util.List;

import com.situ.yB2C.catalog.pojo.Catalog;

public interface CatalogService {

	int saveCatalog(Catalog catalog);
	
	List<Catalog> findAllCatalog();
	
	//List<Catalog> findCatalogByParent(Long parentId);
	
	Catalog findOneById(Long rowId);
	
	String getNameById(Long rowId);
	
	int deleteCatalogById(Long rowId);
	
	
	int updateByCatalogInof(Catalog catalog);
	
	/**
	 * #得到目录的树形结构数据
	 * @return
	 */
	List<Catalog> findTreeCatalogList();
	
}
